<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Global</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

    <h1 class="page-title">Global</h1>

    




<section>

<header>
    
        <h2></h2>
        
    
</header>

<article>
    <div class="container-overview">
    
        

        


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


        
    
    </div>

    

    

    

    

    

    

    
        <h3 class="subsection-title">Members</h3>

        
            
<h4 class="name" id="Events"><span class="type-signature">(constant) </span>Events<span class="type-signature"></span></h4>




<div class="description">
    window.BIMRUN.Events对象 </br>
本枚举对象下封装了Viewer中的所有可监听事件名称，可用在Viewer.addEventListner()api中 </br>
示例：viewer.addEventListener( BIMRUN.Events.ProgressChanged, data => console.log( data ) );
</div>







    <h5 class="subsection-title">Properties:</h5>

    

<table class="props">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>AddDistanceAnchorPoint</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event, intersect: { isRealCollision: boolean, distance: Number, point: Point, model: Object } }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>SelectionChanged</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { newSelection: Array, oldSelection: Array }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>MouseMove</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>MouseWheel</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>MouseUp</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>MouseDown</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>LeftClick</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>MiddleClick</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>RightClick</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>LeftDbClick</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Not implemented</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>MiddleDbClick</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Not implemented</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>RightDbClick</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Not implemented</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>LeftDrag</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>MiddleDrag</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>RightDrag</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>KeyDown</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>KeyUp</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>TouchStart</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>TouchEnd</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>SingleTouch</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Not implemented</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>TwoTouch</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Not implemented</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>Touching</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Not implemented</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>SingleDbTouch</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Not implemented</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>TwoDbTouch</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Not implemented</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>SingleDrag</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>TwoDrag</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>Picking</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event, intersect: { isRealCollision: boolean, distance: Number, point: Point, model: Object } }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>IntersectModel</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event, intersect: { isRealCollision: boolean, distance: Number, point: Point, model: Object } }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>NothingPicked</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { event: Event, intersect }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>ManifestLoaded</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { id: string, manifest: Object, criteria: Array<Ids> }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>ProgressChanged</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { total: Number, progress: Number }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>ActionsLoaded</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { groupId: Id, models: Array, type: string }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>HideModels</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { selection: Array }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>PickModelType</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { modelList: Array }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>WindowResize</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { canvas, width, height, clientWidth, clientHeight }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>SpriteEnter</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { tag: currentSprite.tag, x: Event.x, y: Event.y }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>SpriteLeave</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { tag: currentSprite.tag, x: Event.x, y: Event.y }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>SpriteClick</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { tag: currentSprite.tag, x: Event.x, y: Event.y }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>GridLineEnter</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { type: string, lines: Array, mouse: { x, y }, Point: { x, y } }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>GridLineLeave</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { type: string, lines: Array, mouse: { x, y }, Point: { x, y } }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>FlightModeChanged</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { flightMode: boolean }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>GravityModeChanged</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { gravityMode: boolean }</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>QRCodeChanged</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">Arg: { normal: {x,y, z}, quaternion: {x, y, z, w}, offset: Number, position: { x, y, z }, object: Object }</td>
        </tr>

    
    </tbody>
</table>




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
    

    

    

    
</article>

</section>




</div>

<nav>
    <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="BimrunSceneModel.html">BimrunSceneModel</a></li><li><a href="EnvEffectsPlugin.html">EnvEffectsPlugin</a></li><li><a href="Fence.html">Fence</a></li><li><a href="HeatmapPlugin-Heatmap.html">Heatmap</a></li><li><a href="SpritePlugin-BimrunSprite.html">BimrunSprite</a></li><li><a href="SpritePlugin-SpriteContainer.html">SpriteContainer</a></li><li><a href="Viewer.html">Viewer</a></li><li><a href="WalkThroughPlugin.html">WalkThroughPlugin</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Events">Events</a></li></ul>
</nav>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.4</a> on Wed May 26 2021 13:42:33 GMT+0800 (中国标准时间)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>